package com.aat.dizena.base.service.impl;

import java.util.*;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.aat.dizena.base.bean.User4skill;
import com.aat.dizena.base.dao.User4skillDao;
import com.aat.dizena.base.service.User4skillService;

@Service
public class User4skillServiceImpl  implements User4skillService {

    @Autowired
    private User4skillDao user4skillDao;

    public int addBean(User4skill bean){
        return user4skillDao.addBean(bean);
    }

    public int updateBean(User4skill bean){
        return user4skillDao.updateBean(bean);
    }

    public int deleteBean(String id){
        return user4skillDao.deleteBean(id);
    }

    public User4skill queryBean(String id){
        return user4skillDao.queryBean(id);
    }

    public List<User4skill> queryAll(Map<String, Object> map){
        return user4skillDao.queryAll(map);
    }

    public long queryCount(Map<String, Object> map){
        return user4skillDao.queryCount(map);
    }

}
